package org.hcf.api.config;


import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;


@Data
@Slf4j
@Component
@ConfigurationProperties(prefix = "tencent.im")
public class TencentConf {
    String adminUserName;//: administrator
    long appId;//: 1600043975
    String appSecret;//: ce9445d211902d51d874055ca46b194058ebb28059b41af406d57831142e8473
    String url;
//    public static TencentConf IM;

    @PostConstruct
    void init() {
//        IM = this;
    }
}
